<template>
    <mt-swipe :auto="4000">
        <mt-swipe-item v-for="item in list" :key="item.img">
            <img :src="item[imgname]" :class="[isfull?'full':'']">
        </mt-swipe-item>
    </mt-swipe>
</template>

<script>
    export default{
        props:["list","imgname","isfull"],
        data(){
            return{
                // isfull:false
            }
        }
    }
</script>


<style lang="scss" scoped>
    .mint-swipe {
        height: 180px;
    }
    img {
        height: 100%;
    }
    .full{
        width: 100%;
    }
</style>
